package com.junyidao.game.mapper;

import com.junyidao.game.pojo.SysPriv;
import com.junyidao.game.util.MyMapper;
import com.junyidao.game.vo.SysPrivVo;

import java.util.List;
import java.util.Map;

/**
 * SysPrivMapper数据库操作接口类
 **/

public interface SysPrivMapper extends MyMapper<SysPriv> {

    List<SysPriv> getSysPrivList(Map<String, Object> map);

    List<SysPriv> getSysPrivListByRoleId(Map<String, Object> map);

    List<SysPrivVo> getUserRolePrivList(Map<String, Object> map);

    List<SysPrivVo> getUserPrivList(Map<String, Object> map);

}